Blocks distracting website occur like Facebook,Youtube during your work hours. This is real world program. websites which is distracting and your computer and program will block those website on your working hour.
1- Program Architecture: Every system have host file whether it is mac, windows or Linux.
2- Working of host file: hostnames to IP addresses is mapped when we do map our hostnames of websites to our localhost address in this program. In file handling manipulation we will write the hostname in hosts.txt and remove the lines after your working hours by using python.
Liked By
Write Answer
Website Blocker
Join MindStick Community
You have need login or register for voting of answers or question.
Prakash nidhi Verma
02-Jul-2018Blocks distracting website occur like Facebook,Youtube during your work hours. This is real world program. websites which is distracting and your computer and program will block those website on your working hour.
1- Program Architecture: Every system have host file whether it is mac, windows or Linux.
2- Working of host file: hostnames to IP addresses is mapped when we do map our hostnames of websites to our localhost address in this program. In file handling manipulation we will write the hostname in hosts.txt and remove the lines after your working hours by using python.